package tech.shupi.babytapmobile.types

/**
 * 卡片数据类
 */
data class Card(
    val id: Int,
    val title: String,
    val front_image: String,
    val back_text: String,
    val audio_path: String? = null,
    val created_at: String,
    val updated_at: String
)

/**
 * 创建卡片请求数据类
 */
data class CreateCardRequest(
    val title: String,
    val front_image: String,
    val back_text: String
)

/**
 * 更新卡片请求数据类
 */
data class UpdateCardRequest(
    val title: String,
    val front_image: String,
    val back_text: String,
    val audio_path: String? = null
) 